﻿using System.ServiceModel;

using LightReader.Business.Entities;

namespace LightReader.Business.Services.Contracts
{
    [ServiceContract]
    public interface IUserService
    {
        [OperationContract]
        bool DoesUserExist(string username);

        [OperationContract]
        User LoginUser(string username, string password);

        [OperationContract]
        User AddUser(string username, string password, string emailAddress);

        [OperationContract]
        bool SubscribeToFeed(User user, string feedTitle, string feedUrl);
    }
}
